package server;


/**
 *
 * @author benjamin
 */
public enum Commands {
    NONE,
    NICK,
    HELP;
    
    public static String getValues() {
        String names = "";
        Commands[] values = Commands.values();
        for(int i = 1; i < values.length; i++) {
            names += values[i].name().toLowerCase() + ", ";
        }
        if(names.endsWith(", ")) {
            names = names.substring(0, names.length() - 2);
        }
        return names;
    }
}
